package com.gopay.common.riskcontrol.dao;

import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.riskcontrol.RcQuickpayModelConfig;

import java.util.List;

/**
 * @author gaocl
 * 风控快捷支付风险模型查询Dao
 * Created by gaocl on 2017/11/17.
 */
public interface RcQuickpayModelConfigQueryDao extends BaseReadDAO<RcQuickpayModelConfig,String> {
    /**
     * 根据模型类型查询配置
     * @param modelType
     * @return
     */
    List<RcQuickpayModelConfig> findRcQuickpayConfig(String modelType);

    /**
     * 根据模型类型状态、规则编码查询配置
     * @param modelType
     * @param stat
     * @param ruleCode
     * @return
     */
    List<RcQuickpayModelConfig> getByRuleCodeStat(String modelType,String stat,String ruleCode);

}
